﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="My.aspx.cs" Inherits="Liguo.Store.My" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>个人主页</title>
    <link rel="stylesheet" href="../css/frame.css" />
    <style>
        .user_info {
            position:relative;
            left:50px;
            height:40px;
            width: 400px;
            font-size:18px;
        }

        .user_input {
            position:relative;
            left:50px;
            height:24px;
            width: 200px;
            font-size:18px;
            border:2px solid;
            border-color:#EE393C;
        }

        .user_change {
            border-width: medium;
            font-size: 22px;
            color: #FFFFFF;
            border-radius:4px;
            background: #E4393C;
        }

            .user_change:hover {
                background: #EE393C;
                cursor:pointer;
            }
    </style>
</head>
<body>
    <div class="header">
        <!--兼容IE早期版本的做法，不用在意-->
        <iframe src="Header.aspx" frameborder="no" border="no"></iframe>
    </div>
    <div class="table">
        <div class="bar">
            <img src="../res/tips/favor.png" />
            <span>我的信息</span>
        </div>
        <div class="content">
            <form id="my_form" runat="server">
                <br />
                <br />
                <table>
                    <tr>
                        <td>
                            <span>用户名</span>
                        </td>
                        <td>
                            <asp:TextBox ID="TbName" runat="server" ReadOnly="true" CssClass="user_info"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>邮箱</span>
                        </td>
                        <td>
                            <asp:TextBox ID="TbMail" runat="server" ReadOnly="true" CssClass="user_info"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <br />
                <span>修改密码</span>
                <table>
                    <tr>
                        <td>
                            <span>原密码</span>
                        </td>
                        <td>
                            <asp:TextBox ID="TbPwdOld" runat="server" TextMode="Password" CssClass="user_input"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>新密码</span>
                        </td>
                        <td>
                            <asp:TextBox ID="TbPwdNew" runat="server" TextMode="Password" CssClass="user_input"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align:center">
                            <asp:Button ID="BtnChgPwd" runat="server" Text="确认修改" CssClass="user_change" OnClick="BtnChgPwd_Click" />
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
    <div class="bottom">
        <!--兼容IE早期版本的做法，不用在意-->
        <iframe src="Bottom.aspx" frameborder="no" border="no"></iframe>
    </div>
</body>
</html>
